
This file documents the materials required to reproduce the results in the article:
"I�m a Survivor: Political Dynamics in Bureaucratic Elites� Partisan Identification"
(Benny Geys, Per L�greid, Zuzana Murdoch and Susan Webb Yackee)


Access to data used in the article:

This article uses data collected within 10 waves of the American State Administrators Project (ASAP) from 1964 to 2008. The authors of this article were not directly involved in this data collection. The de-identified data were provided under a data transfer agreement from Dr. Cynthia Bowling and Auburn University. The first waves of the survey were collected by the late Dr. Deil S. Wright. Dr. Bowling became involved with ASAP in 1994 and became the Co-ASAP Director of the project in 2004. The survey data used in the article�s analyses were in full compliance with the General Data Protection Regulations (GDPR), as well as with APSA�s Principles and Guidance for Human Subjects Research in terms of consent, deception, confidentiality, harm and impact. 

Access to the ASAP dataset requires the signing of the ASAP data transfer agreement (https://asap.wisc.edu/dataset). As a result, the same data transfer agreement MUST be signed before the de-identified quantitative data necessary to reproduce the results in this article can be made available to scholars. 
 
All other data sources used in the article are publicly available, and the required data are included in the replication dataset mentioned above.


Overview and use of replication materials:

Beside this README document, the replication materials posted on the APSR Dataverse consist of two Stata v.18 "do" files (command scripts), one Stata v.18 "dta" file (a data file), and one "R" script (command script). They should be used in the order and manner described below.

1. APSR replication main.do
This file reproduces the majority of the results in the main manuscript and supplementary materials, with the exception of the results explicitly noted below. The command script was written for Stata version 18.0 (SE�Standard Edition).

Open "APSR replication main.do" in Stata, and use it to read in the de-identified replication dataset mentioned above. The remainder of the do-file then reproduces the core of our analysis. 

NOTE: This command script requires the de-identified replication dataset mentioned above, available only subject to signing a data transfer agreement.


2. APSR replication placebo.do
This file reproduces Figures A.6 and A.7 in the supplementary materials. The command script was written for Stata version 18.0 (SE�Standard Edition).

This command script uses the dataset "APSR replication placebo.dta", included in the replication materials on the APSR Dataverse.

Open "APSR replication placebo.do" in Stata, and use it to read in the dataset called "APSR replication placebo.dta". The remainder of the do-file then reproduces Figures A.6 and A.7 in the supplementary materials. 


3. APSR simulations.R
This file reproduces the results documented in Online Appendix B of the Supplemnatry materials. The command script was written for R version 4.3.2 using RStudio version 2023.12.1+402.

No data is required to run this command script. 

Open "APSR simulations.R" using, for instance, RStudio and 'run' the script to replicate the results in Online Appendix B.
